//
//  ShowQRcodeViewController.m
//  PhyloHunter
//
//  Created by Vani Choubey on 7/7/13.
//  Copyright (c) 2013 The Gigglers. All rights reserved.
//

#import "showQRcodeViewController.h"
#import "shareCardViewController.h"


@interface showQRcodeViewController ()



@end

@implementation showQRcodeViewController

@synthesize HelpMsg, helpOverLayBG,card_QRcodeLabel,QrCodeLabel;

- (id)initWithNibName:(NSString *)nibNameOrNil bundle:(NSBundle *)nibBundleOrNil
{
    self = [super initWithNibName:nibNameOrNil bundle:nibBundleOrNil];
    if (self) {
        // Custom initialization
    }
    return self;
}

- (void)viewDidLoad
{
    [super viewDidLoad];
	// Do any additional setup after loading the view.

    self.QRcode.image = [UIImage imageNamed:self.card_QRcodeImage ];
    QrCodeLabel.text= card_QRcodeLabel;
    
   // self.card_QRcodeLabel.txt=[UILabel:self.QrCodeLabel];
  
    
   //self.cardImageView.image = [UIImage imageNamed:self.cardImageName];
}

- (void)didReceiveMemoryWarning
{
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}


//The Help Message is defaulted to be Hidden
//		When the User Touches the Help button it will show the Help Message with its background
//		After Touching the Help button again, it will disappear//
- (IBAction)HelpButton:(id)sender {
	if (HelpMsg.hidden == NO) {
		HelpMsg.hidden = YES;
        helpOverLayBG.hidden = YES;
	}
else {
		HelpMsg.hidden = NO;
        helpOverLayBG.hidden = NO;
	}
}
@end
